<script lang="ts" setup>
import { defineProps,ref } from "vue";

    import BasePopup from './BasePopUp.vue'

    let props = defineProps(["name","onclose"]);
    
    let PopupData = ref({
        titleName:props.name,
        onclose:()=>{
            props.onclose();
        }
    })

</script>
<template>
    <BasePopup :PopupData="PopupData" :width="600" :height="400">
        <div class="TestCom">
            这是测试弹出框的组件
        </div>
    </BasePopup>

</template>
<style scoped>

    .TestCom{
        color: aquamarine;
    }
</style>